
#include <stdio.h>
#include <string.h>
#include <math.h>

#include "ParseAVI.h"
#include "ParseJPG.h"
#include "ParseMP3.h"
#include "ParseMP4.h"
#include "ParsePNG.h"
#include "ParseWMV.h"


#ifdef ANDROID
#include <jni.h>
#include <android/log.h>
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, "HT_DMC_JNI", __VA_ARGS__)
#endif

int MediaParsing(char *filePath,struct Meta* meta);

#ifndef ANDROID
int GenMetaData(char* filePath,char* fileURL);
#else
jstring Java_com_ht_dmc_devices_DeviceLocalPath_getMetadata(JNIEnv *env, jobject thiz, jstring filePath, jstring fileURL);
#endif
